<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_j--igKndEeOPp7kWFam4Mg" targetNamespace="http://camunda.org/schema/1.0/bpmn">
  <bpmn2:process id="testProcess" isExecutable="true">
    <bpmn2:subProcess id="subProcess">
      <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
      <bpmn2:subProcess id="eventSubProcess" triggeredByEvent="true">
        <bpmn2:extensionElements>
          <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="start"/>
          <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="end"/>
        </bpmn2:extensionElements>
        <bpmn2:startEvent id="startEventInSubProcess">
          <bpmn2:extensionElements>
            <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="start"/>
            <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="end"/>
          </bpmn2:extensionElements>
          <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
          <bpmn2:messageEventDefinition id="_MessageEventDefinition_2" messageRef="Message_1"/>
        </bpmn2:startEvent>
        <bpmn2:userTask id="taskInEventSubProcess" name="Task In Event Subprocess">
          <bpmn2:extensionElements>
            <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="start"/>
            <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="end"/>
          </bpmn2:extensionElements>
          <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
          <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
        </bpmn2:userTask>
        <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="startEventInSubProcess" targetRef="taskInEventSubProcess"/>
        <bpmn2:endEvent id="endEventInSubProcess">
          <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
        </bpmn2:endEvent>
        <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="taskInEventSubProcess" targetRef="endEventInSubProcess"/>
      </bpmn2:subProcess>
      <bpmn2:startEvent id="StartEvent_1">
        <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
      </bpmn2:startEvent>
      <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="taskInMainFlow"/>
      <bpmn2:endEvent id="EndEvent_1">
        <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
      </bpmn2:endEvent>
      <bpmn2:userTask id="taskInMainFlow" name="task in main flow">
        <bpmn2:extensionElements>
          <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="end"/>
          <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="start"/>
        </bpmn2:extensionElements>
        <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
      </bpmn2:userTask>
      <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="taskInMainFlow" targetRef="EndEvent_1"/>
    </bpmn2:subProcess>
    <bpmn2:endEvent id="EndEvent_3">
      <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="subProcess" targetRef="EndEvent_3"/>
    <bpmn2:startEvent id="StartEvent_2">
      <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="StartEvent_2" targetRef="subProcess"/>
  </bpmn2:process>
  <bpmn2:message id="Message_1" name="message"/>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="testProcess">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="705.0" y="108.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="723.0" y="149.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_UserTask_2" bpmnElement="taskInMainFlow">
        <dc:Bounds height="80.0" width="100.0" x="791.0" y="86.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_2" targetElement="_BPMNShape_UserTask_2">
        <di:waypoint xsi:type="dc:Point" x="741.0" y="126.0"/>
        <di:waypoint xsi:type="dc:Point" x="791.0" y="126.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="6.0" width="6.0" x="799.0" y="121.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_2" bpmnElement="EndEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="941.0" y="108.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="959.0" y="149.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_UserTask_2" targetElement="_BPMNShape_EndEvent_2">
        <di:waypoint xsi:type="dc:Point" x="891.0" y="126.0"/>
        <di:waypoint xsi:type="dc:Point" x="941.0" y="126.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="6.0" width="6.0" x="1489.0" y="12.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_2" bpmnElement="eventSubProcess" isExpanded="true">
        <dc:Bounds height="121.0" width="325.0" x="696.0" y="192.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_3" bpmnElement="startEventInSubProcess">
        <dc:Bounds height="36.0" width="36.0" x="728.0" y="235.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="746.0" y="276.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_UserTask_3" bpmnElement="taskInEventSubProcess">
        <dc:Bounds height="80.0" width="100.0" x="814.0" y="213.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_StartEvent_3" targetElement="_BPMNShape_UserTask_3">
        <di:waypoint xsi:type="dc:Point" x="764.0" y="253.0"/>
        <di:waypoint xsi:type="dc:Point" x="814.0" y="253.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="6.0" width="6.0" x="786.0" y="253.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_3" bpmnElement="endEventInSubProcess">
        <dc:Bounds height="36.0" width="36.0" x="964.0" y="235.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="982.0" y="276.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_UserTask_3" targetElement="_BPMNShape_EndEvent_3">
        <di:waypoint xsi:type="dc:Point" x="914.0" y="253.0"/>
        <di:waypoint xsi:type="dc:Point" x="964.0" y="253.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="6.0" width="6.0" x="936.0" y="253.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_3" bpmnElement="subProcess" isExpanded="true">
        <dc:Bounds height="385.0" width="529.0" x="612.0" y="12.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_4" bpmnElement="StartEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="486.0" y="186.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="504.0" y="227.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_StartEvent_4" targetElement="_BPMNShape_SubProcess_3">
        <di:waypoint xsi:type="dc:Point" x="522.0" y="204.0"/>
        <di:waypoint xsi:type="dc:Point" x="612.0" y="204.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="6.0" width="6.0" x="603.0" y="204.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_5" bpmnElement="EndEvent_3">
        <dc:Bounds height="36.0" width="36.0" x="1191.0" y="186.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_SubProcess_3" targetElement="_BPMNShape_EndEvent_5">
        <di:waypoint xsi:type="dc:Point" x="1140.0" y="204.0"/>
        <di:waypoint xsi:type="dc:Point" x="1191.0" y="204.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>